#ifndef SHOP_SCENE_H
#define SHOP_SCENE_H

#include <QObject>
#include <QGraphicsPixmapItem>
#ifndef SCENE_QT_H
#include "../utils/scene_qt.h"
#endif

#ifndef MYPUSHBUTTON
#include "../utils/mypushbutton.h"
#endif

#ifndef DATA_MANAGER_H
#include "../utils/data_manager.h"
#endif

class Shop_Scene : public Scene_qt
{
    Q_OBJECT
    friend class MainWindow;//友元申明
    Data_Manager * data_manager = null;
    int &goldNum;
    QList<QPushButton *>Btns;
    QGraphicsPixmapItem * moneyBg = null;
public:

    explicit Shop_Scene(Data_Manager * data_manager=null,QWidget *parent=null);
    void paintEvent(QPaintEvent *)override;
    ~Shop_Scene();
private:
    //参数标签
    QLabel *label1 = new QLabel;
    QLabel *label2 = new QLabel;
    QLabel *label3 = new QLabel;
    QLabel *label4 = new QLabel;
    QLabel *label5 = new QLabel;
    QLabel *label6 = new QLabel;
    //进度 datamanager中

    //金币
    QLabel *moneylabel = new QLabel;


    void setupBtn();
    void setupLabel();
};

#endif // SHOP_SCENE_H
